<template>
  <el-switch v-model="value1" />
  <el-switch
      v-model="value2"
      class="ml-2"
      style="--el-switch-on-color: #13ce66; --el-switch-off-color: #ff4949"
  />
  <hr>
  是否是管理员:<el-switch v-model="isAdmin"></el-switch>
  是否显示图片:<el-switch v-model="isShow"></el-switch>
  <hr>
  <img v-show="isShow" src="a.png" width="300">
</template>

<script setup>
import { ref } from 'vue'
const isAdmin = ref(true);
const isShow = ref(true);


const value1 = ref(true)
const value2 = ref(true)
</script>

<style scoped>

</style>